package List1;

public class nm0 {
    public static void main(String[] args){
        MySingleList list=new MySingleList();
        list.addLast(1);
        list.addLast(2);
        list.addLast(3);
        list.addLast(4);
        list.addLast(5);
        list.display();
        MySingleList.ListNode ret=list.middleNode();
        System.out.println(ret);
    }
}
